/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.bo;


import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdModelManagementTaskRefPart;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 模型组建任务业务对象 isfd_model_management_task_ref_part
 *
 * @author Lion Li
 * @date 2024-08-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdModelManagementTaskRefPart.class, reverseConvertGenerate = false)
public class IsfdModelManagementTaskRefPartBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 任务id
     */
    @NotNull(message = "任务id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long taskId;

    /**
     * 模型管理零件表id
     */
    @NotNull(message = "模型管理零件表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long partId;


}
